home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 123 / CD Gamer Issue 123 (June 2003) (Disc 1).ISO / Games / Dev_Demo_EU / data1.cab / App_Executables / System / DCharActions.u / ScriptText46.TextBuffer < prev    next >
Unknown  |  2003-02-28  |  779 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 41 0c 63 6c 61 73 73 20 |........|A.class |
|00000010| 44 43 41 63 74 69 6f 6e | 5f 43 68 61 6e 67 65 57 |DCAction|_ChangeW|
|00000020| 65 61 70 6f 6e 20 65 78 | 74 65 6e 64 73 20 44 43 |eapon ex|tends DC|
|00000030| 68 61 72 41 63 74 69 6f | 6e 3b 0d 0a 0d 0a 76 61 |harActio|n;....va|
|00000040| 72 28 41 63 74 69 6f 6e | 29 20 63 6c 61 73 73 3c |r(Action|) class<|
|00000050| 44 57 65 61 70 6f 6e 3e | 20 57 65 61 70 6f 6e 43 |DWeapon>| WeaponC|
|00000060| 6c 61 73 73 20 20 20 22 | 63 6c 61 73 73 20 6f 66 |lass "|class of|
|00000070| 20 77 65 61 70 6f 6e 20 | 74 6f 20 73 77 69 74 63 | weapon |to switc|
|00000080| 68 20 74 6f 22 3b 0d 0a | 76 61 72 28 41 63 74 69 |h to";..|var(Acti|
|00000090| 6f 6e 29 20 62 6f 6f 6c | 20 20 20 62 4d 61 6b 65 |on) bool| bMake|
|000000a0| 4e 65 77 20 22 6d 61 6b | 65 20 61 20 6e 65 77 20 |New "mak|e a new |
|000000b0| 77 65 61 70 6f 6e 20 69 | 66 20 69 74 20 64 6f 65 |weapon i|f it doe|
|000000c0| 73 6e 27 74 20 65 78 69 | 73 74 3f 22 3b 0d 0a 0d |sn't exi|st?";...|
|000000d0| 0a 66 75 6e 63 74 69 6f | 6e 20 53 74 61 72 74 41 |.functio|n StartA|
|000000e0| 63 74 69 6f 6e 28 29 0d | 0a 7b 0d 0a 20 20 20 20 |ction().|.{.. |
|000000f0| 6c 6f 63 61 6c 20 44 57 | 65 61 70 6f 6e 20 57 65 |local DW|eapon We|
|00000100| 61 70 6f 6e 3b 0d 0a 0d | 0a 20 20 20 20 57 65 61 |apon;...|. Wea|
|00000110| 70 6f 6e 20 3d 20 44 57 | 65 61 70 6f 6e 28 47 65 |pon = DW|eapon(Ge|
|00000120| 74 42 6f 74 28 29 2e 46 | 69 6e 64 49 6e 76 65 6e |tBot().F|indInven|
|00000130| 74 6f 72 79 54 79 70 65 | 28 20 57 65 61 70 6f 6e |toryType|( Weapon|
|00000140| 43 6c 61 73 73 20 29 29 | 3b 0d 0a 20 20 20 20 69 |Class ))|;.. i|
|00000150| 66 20 28 20 57 65 61 70 | 6f 6e 20 21 3d 20 4e 6f |f ( Weap|on != No|
|00000160| 6e 65 20 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |ne ).. | {.. |
|00000170| 20 20 20 20 20 69 66 20 | 28 20 47 65 74 42 6f 74 | if |( GetBot|
|00000180| 28 29 2e 57 65 61 70 6f | 6e 20 21 3d 20 4e 6f 6e |().Weapo|n != Non|
|00000190| 65 20 29 0d 0a 20 20 20 | 20 20 20 20 20 7b 0d 0a |e ).. | {..|
|000001a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 47 65 74 42 | | GetB|
|000001b0| 6f 74 28 29 2e 50 65 6e | 64 69 6e 67 57 65 61 70 |ot().Pen|dingWeap|
|000001c0| 6f 6e 20 3d 20 57 65 61 | 70 6f 6e 3b 0d 0a 20 20 |on = Wea|pon;.. |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 47 65 74 42 6f 74 | | GetBot|
|000001e0| 28 29 2e 57 65 61 70 6f | 6e 2e 50 75 74 44 6f 77 |().Weapo|n.PutDow|
|000001f0| 6e 28 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 7d 0d |n();.. | }.|
|00000200| 0a 20 20 20 20 20 20 20 | 20 65 6c 73 65 0d 0a 20 |. | else.. |
|00000210| 20 20 20 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 | {|.. |
|00000220| 20 20 20 20 20 20 47 65 | 74 42 6f 74 28 29 2e 57 | Ge|tBot().W|
|00000230| 65 61 70 6f 6e 20 3d 20 | 57 65 61 70 6f 6e 3b 0d |eapon = |Weapon;.|
|00000240| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 57 65 61 |. | Wea|
|00000250| 70 6f 6e 2e 42 72 69 6e | 67 55 70 28 29 3b 0d 0a |pon.Brin|gUp();..|
|00000260| 20 20 20 20 20 20 20 20 | 7d 0d 0a 20 20 20 20 7d | |}.. }|
|00000270| 0d 0a 20 20 20 20 65 6c | 73 65 20 69 66 20 28 20 |.. el|se if ( |
|00000280| 62 4d 61 6b 65 4e 65 77 | 20 29 0d 0a 20 20 20 20 |bMakeNew| ).. |
|00000290| 20 20 20 20 47 65 74 42 | 6f 74 28 29 2e 47 65 74 | GetB|ot().Get|
|000002a0| 47 61 6d 65 28 29 2e 49 | 6e 76 65 6e 74 6f 72 79 |Game().I|nventory|
|000002b0| 4d 61 6e 61 67 65 72 2e | 47 69 76 65 57 65 61 70 |Manager.|GiveWeap|
|000002c0| 6f 6e 28 20 47 65 74 42 | 6f 74 28 29 2c 20 73 74 |on( GetB|ot(), st|
|000002d0| 72 69 6e 67 28 20 57 65 | 61 70 6f 6e 43 6c 61 73 |ring( We|aponClas|
|000002e0| 73 20 29 2c 20 74 72 75 | 65 20 29 3b 0d 0a 0d 0a |s ), tru|e );....|
|000002f0| 20 20 20 20 46 69 6e 69 | 73 68 41 63 74 69 6f 6e | Fini|shAction|
|00000300| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 00 |();..}..|... |
+--------+-------------------------+-------------------------+--------+--------+